package cn.buaa.anniversary.model;

import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * Created this one by HMH on 2017/10/25.
 */
@Data
public class QueryForm {
    @NotNull(message = "词不能为空")
    Word query;
    @NotNull(message = "姓名不能为空")
    String name;
}
